package com.mva.Customer_DAO;

import java.util.ArrayList;

public interface CustomerIO
  {
   // Customer reader methods
   boolean  existsCustomer (int cust);
   boolean  existsCustomer (String tin);
   Customer getCustomer    (int cust);
   Customer getCustomer    (String tin);
   boolean  getCustomers   (ArrayList<Customer> custs);

   // Customer writer methods
   boolean addCustomer    (Customer cust);
   boolean updateCustomer (Customer cust);
   boolean deleteCustomer (Customer cust);
  }
